<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title></title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">    <link rel="stylesheet" href="css/project/ui-fold-v3.css">

        <link rel="stylesheet" href="css/project/ui-list-v3.css">
        <link rel="stylesheet" href="css/project/ui-res-v3.css">
        <link rel="stylesheet" href="css/project/ui-input-v3.css">
        <link rel="stylesheet" href="css/project/ui-btn-v3.css">
        <link rel="stylesheet" href="css/project/ui-color-v3.css">
        <link rel="stylesheet" href="css/ui-box.css">
        <link rel="stylesheet" href="css/ui-base.css">
        <link rel="stylesheet" href="css/ui-input.css">
        <link rel="stylesheet" href="css/clean/cleaning.css">
		<link rel="stylesheet" href="css/iBox.css">
		
        <script src="js/jquery-1.9.1.min.js"></script>
        <script src="js/zy_control.js"></script>
        <script src="js/zy_click.js"></script>
		<script src="js/clean/deepCleanComimt.js"></script>
		<script src="js/clean/common.js"></script>
		<script src="js/iBox.js?v=202022"></script>
		<script src="js/clean/imgUpload.js"></script>
		<script src="js/talkingdata.js"></script>
    </head>
    <body class="um-vp" ontouchstart>
        <!--块容器开始-->
        <div class="ub ub-ver">
            <!--第一区域-->
            <div class=" ub-f1 b-gra uinn  ulev-1" style="font-weight:bolder;">
                <!--第一行-->
                <div class="c-gra touming" style="padding:0.5em 0.3em 0.5em 0.3em">
                    <div class="ub t-bla">
                        <div class="ub ub-ac " style="width:23%">
                            航班日期
                        </div>
                        <div class="" style="width:25%">
                            <div class="c-wh uinput uinn3">
                                <input placeholder="" readonly type="text" style="font-weight:bolder;" id="flightDate" class="uc-a1">
                            </div>
                        </div>
                        <div class="" style="width:5%">
                        </div>
                        <div class="ub ub-ac" style="width:23% ">
                            航班号
                        </div>
                        <div class=" ub ub-ver " style="width:25%">
                            <div class="ub t-bla">
                                <div class="ub t-bla">
                                    <div class="ub-f1 uinn ulev-1 c-wh tx-l t-gra ulh-sel" style="width:1.5em;font-weight:bolder;">
                                    <font id="carrier" ></font>
									</div>
                                    <div class="c-06 ub ub-pc ub-ac">
                                        <div class="ub-img umw1 umh1 res3">
                                        </div>
                                    </div>
                                </div>
                                <!--下拉列表结束-->
                                <div class="ub-f1 c-wh uinput uinn3">
                                    <input placeholder="" readonly type="text" style="font-weight:bolder;" id="flightNo" class="uc-a1">
                                </div>
                            </div>
                        </div>
                    </div><!--第2行-->
                    <div class="ub t-bla " style="padding-top:1em">
                        <div class="ub ub-ac" style="width:23%">
                            机号
                        </div>
                        <div class="" style="width:25%">
                            <div class="c-wh uinput uinn3">
                                <input placeholder="" readonly type="text" style="font-weight:bolder;" id="acNo" class="uc-a1">
                            </div>
                        </div>
                        <div class="" style="width:5%">
                        </div>
                        <div class="ub ub-ac" style="width:23% ">
                            机型
                        </div>
                        <div class=" ub ub-ver " style="width:25%">
                            <div class="c-wh uinput uinn3">
                                <input placeholder="" readonly type="text" style="font-weight:bolder;" id="acType" class="uc-a1">
                            </div>
                        </div>
                    </div><!--第3行-->
                    <div class="ub t-bla " style="padding-top:1em">
                        <div class="ub ub-ac	" style="width:23%">
                            起飞站
                        </div>
                        <div class="" style="width:25%">
                            <div class="c-wh  uinput uinn3">
                                <input placeholder="" readonly type="text"  id="depPort" class="uc-a1 uhide"><input placeholder="" style="font-weight:bolder;" readonly type="text" id="depPortName" class="uc-a1">
                            </div>
                        </div>
                        <div class="" style="width:5%">
                        </div>
                        <div class="ub ub-ac" style="width:23% ">
                            到达站
                        </div>
                        <div class=" ub ub-ver " style="width:25%">
                            <div class="c-wh  uinput uinn3">
                                <input placeholder="" readonly type="text" id="arrPort" class="uc-a1 uhide"><input style="font-weight:bolder;" readonly type="text" id="arrPortName" class="uc-a1 ">
                            </div>
                        </div>
                    </div><!--第4行-->
                    <div class="ub t-bla " style="padding-top:1em">
                        <div class="ub ub-ac	" style="width:23%">
                            桥位
                        </div>
                        <div class="" style="width:25%">
                            <div class="c-wh  uinput uinn3">
                                <input style="font-weight:bolder;" readonly  type="text" id="bridge" class="uc-a1">
                            </div>
                        </div>
                        <div class="" style="width:5%">
                        </div>
                        <div class="ub ub-ac" style="width:23% ">
                            事件单号
                        </div>
                        <div class=" ub ub-ver " style="width:25%">
                            <div class="c-wh  uinput uinn3">
                                <input style="font-weight:bolder;" readonly id="affairno" type="text" class="uc-a1">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
			<!--第二区域-->
			<div class="c-gra touming umar-l umar-r umar-b">
              <div  class=" ulev-1">
				<div class="ub ub-ver">
				    <div class="ubb b-gra t-gra uinn uc-t1" style="font-weight:bolder;color:#0A0A0A">事件区域</div>
				    <div class=" uinn uc-b1" id="affairLoc" style="font-weight:bolder;">
				    </div>
				</div>
              </div>
			  </div>
			  <div class="c-gra touming umar-l umar-r umar-b">
			<!--块容器开始-->
			<div class="ub ub-ver t-bla ulev-1" style="font-weight:bolder;">
			    <div class="umar-t umar-b umar-r uc-t1">
					<div class="ub t-bla">
					    <div class="ub-f1  uc-l1">
							<div class="ub t-bla ulab">
							    <div class="uinn ulim ">事件类型</div>
							    <div class="ub-f1 c-wh b-gra uinput uinn3">
							        <input readonly type="text" id="affairType" style="font-weight:bolder;" class="uc-a1">
							    </div>
							</div>
					    </div>
					    <div class="ub-f1  uc-r1">
					    	<div class="ub t-bla ulab">
							    <div class="uinn ulim">分配部门</div>
							    <div class="ub-f1 c-wh uinput uinn3">
							        <input readonly type="text" id="arrangeDept" style="font-weight:bolder;" class="uc-a1">
							    </div>
							</div>
					    </div>
					</div>
			    </div>
				<div class="umar-t umar-b umar-r uc-t1">
					<div class="ub t-bla">
					    <div class="ub-f1  uc-l1">
							<div class="ub t-bla ulab ">
							    <div class="uinn ulim">提交部门</div>
							    <div class="ub-f1 c-wh uinput uinn3">
							        <input readonly type="text" id="submitDept" style="font-weight:bolder;" class="uc-a1">
							    </div>
							</div>
					    </div>
					    <div class="ub-f1  uc-r1">
					    	<div class="ub t-bla ulab ">
							    <div class="uinn ulim ">提交人员</div>
							    <div class="ub-f1 c-wh uinput uinn3">
							        <input readonly type="text" id="submitMan" style="font-weight:bolder;" class="uc-a1">
							    </div>
							</div>
					    </div>
					</div>
			    </div>
			    <div id="Remark" class="uc-b1 uhide ">
			    	 <div class="uba c-wh b-gra uinput uinn3" style="margin:0 0.5em">
                        <textarea placeholder="批注意见" id="operateRemark" name="textarea-0" class="uc-a1" style="min-height:4em"></textarea>
                     </div>
			    </div>
			</div>
			</div>
			<!--第二区域-->
			<div class="c-gra touming umar-l umar-r umar-b uinn">
	            <div class=" c-wh uinput uinn3" >
	                <textarea placeholder="事件描述" style="font-weight:bolder;" readonly id="affairRemark" name="textarea-0" class="uc-a1" style="min-height:3em"></textarea>
	            </div>
			</div>
			<div id="ramrt" class="c-gra touming umar-l umar-r umar-b uinn" style="display:none">
				    <input type="checkbox" class="uhide">
				    <div ontouchstart="zy_touch('btn-act')" onclick="zy_for(event,zy_fold);" class="ubb b-gra t-wh ub uinn ub-ac c-wh col ulev-1 umh4" style="border-bottom:solid 3px black">
				        <div class="ub-f1 ut-s t-bla">审核记录</div>
				        <div class="umh2 umw2 ub-img list-icon"></div>
				    </div>
				    <div id="logger" class="uinn  umh6 t-bla ubt b-gra ulev-1 col-c" style="background-color:#d9e0e7;border:solid 1px #ffffff">
				    </div>
			</div>
			<!--块容器开始-->
		 
			<!--块容器结束-->

    <div id="0" style="display:none;" class="uba t-wh uinn umar-a tx-c " style="font-weight:bolder;">事件等待处理中</div>
	<div id="2" style="display:none;" class="uba t-wh uinn umar-a tx-c " style="font-weight:bolder;">事件无法解决</div>
	<div id="3" style="display:none;" class="uba t-wh uinn umar-a tx-c " style="font-weight:bolder;">事件已关闭</div>
	<div id="5" style="display:none;" class="uba t-wh uinn umar-a tx-c " style="font-weight:bolder;">事件处理中,请耐心等待</div>
	<div id="1" style="display:none;" class="uba t-wh uinn umar-a tx-c " style="font-weight:bolder;">待移动客舱确认</div>

			<div class="ub-f1 b-gra umar-l umar-r" id="imgUp" style="display:none;">
                <!--块容器开始-->
                <div class=" c-wh ">
                    <!--列表开始-->
                    <div class="">
                        <ul id="pictures" class="uc-t ub t-bla  lis" >
                            <li id="addImg" class="lis-th ub-img Img" style="width:32%;height:5.5em;" onclick="$.imgUpload().openMeun()">
                            </li>
                        </ul>
                    </div>
                    <!--列表结束-->
                </div>
            </div>
            <div id="buttons" class="uc-b1 par-t uinn" style="padding-bottom:0.8em;display:none;font-weight:bolder;">
				<div class="ub  t-wh">
				    <div class="uba  ub-f1 uinn uc-l1" >
			                <div class="ub btn ub-pc ">
			                    <div class=" uinn ub ub-ac t-wh "  onclick="upLoadFiles('3')">
			                                                                             确&nbsp;认&nbsp;关&nbsp;闭
			                    </div>
			                </div>
				    </div>
					<div class="umar-a"></div>
				    <div class="uba ub-f1 uinn uc-r1 ">
		                <div class="ub btn ub-pc ">
		                    <div class=" uinn ub ub-ac t-wh " onclick="upLoadFiles('4')">
		                                                                             拒&nbsp;绝&nbsp;通&nbsp;过
		                    </div>
		                </div>
				    </div>
				</div>
            </div>
        </div>
        <!--块容器结束-->
		<div id="spectionContent" style="position:fixed;top:30%;left:12%;width:79%;height:5em;z-index: 10000;"></div>
    </body>
    <script>
        zy_init();
        window.uexOnload = function(type){
          $.commitData().defaultInit();
		  IC.talkingDataCount("客舱深度清洁","0021");
        }
        
        /**
         * 清洁事件上传
         */  
		 function comimtDate(fileNo,status,operateRemark){
		 	IC.talkingDataCount("客舱深度清洁","0021");
		 	$.iBoxWait();
//		 	var operator ='test审核'; //$("#operator").html();
 			var operator = getStorage("submitMan");//账号名称
 			if(undefined == operator){
				operator="测试";
			}
			
            var operateDept = '1';//$("#operateDept").val();
            var affairNo = $("#affairno").val();
            var flightNo = $("#flightNo").val();
            var flightDate = $("#flightDate").val();
            var depPort = $("#depPort").val();
            var arrPort = $("#arrPort").val();
            var parma = {"operator":operator=null?"":operator,"operateDept":operateDept=null?"":operateDept,"operateRemark":operateRemark=null?"":operateRemark,"affairNo":affairNo=null?"":affairNo,
			"status":status=null?"":status,"flightNo":flightNo=null?"":flightNo,"flightDate":flightDate=null?"":flightDate,"depPort":depPort=null?"":depPort
			,"arrPort":arrPort=null?"":arrPort,"fileNo":fileNo};
            $.ajax({
                //提交数据的类型 POST GET
                type: "POST",
                //提交的网址
                url: queryUrl+"submitHandleOperation",
                //提交的数据
                data: "parma="+JSON.stringify(parma),
                //返回数据的格式
                datatype: "json",//"xml", "html", "script", "json", "jsonp", "text".
                //成功返回之后调用的函数             
                success: function(json){
					json = JSON.parse(json);
				if(json.status==0){
					 $.iBoxMsg("提交成功");
					 setTimeout(function(){
						uexWindow.evaluateScript("deepCleaningComimt","0","backPage()");
				 },2000);
				}else{
					 $.iBoxMsg("提交失败");
				}
                },
                //调用出错执行的函数
                error: function(err){
                    //请求出错处理
                    $.iBoxMsg("网络异常");
                }
            });
		 }
		                               
         function upLoadFiles(status){
		 	IC.talkingDataCount("客舱深度清洁","0021");
             if (status == 4) {
                 var fieldText = '<div class="ub ub-ver uba uc-a c-bla b-gra t-wh">\
         			    <div class="ubb uinn umar-a tx-c uc-t1">批注意见</div>\
         			    <div class=" umar-a">\
         					<div class="ub ub-ver t-wh">\
         					    <div class=" uc-t1 ulev-1 umar-l">请输入内容：</div>\
         					    <div class=" uinn uc-b1">\
         							<div class="c-wh uba b-gra uinput uinn4">\
         							    <input placeholder="批注意见:" id="textRamr" type="text" class="uc-a1">\
         							</div>\
         					    </div>\
         					</div>\
         			    </div>\
         			    <div class="uinn uc-b1" style="filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr=\'#545454\',endColorStr=\'#000000\',gradientType=\'0\');\
         background: -moz-linear-gradient(top, #545454,#000000);\
         background: -o-linear-gradient(top,#545454,#000000);\
         background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#545454), to(#000000));">\
         					<div class="ub ">\
         						<div class="ub-f1  uc-l1"></div>\
         						<div class="uc-l1">\
         							<div class="btn uba b-org uinn c-gra uc-a t-bla umar-a tx-c" onclick="closeWin(0)">确定</div>\
         					    </div>\
         					    <div class="uc-l1">\
         							<div class="btn uba b-org uinn c-gra uc-a t-bla umar-a tx-c " onclick="closeWin(1)">取消</div>\
         					    </div>\
         					    <div class="ub-f1  uc-r1"></div>\
         					</div>\
         			    </div>\
         			</div>';
                 $("#spectionContent").append(fieldText);
             }
             else {
//                 comimtDate(status,"");
				 $.imgUpload().uploadImgs(status,"");
             }
         }
		function closeWin(type){
			IC.talkingDataCount("客舱深度清洁","0021");
			if(type==0){
				var str =$("#textRamr").val();
				if(str==""){
					 $.iBoxMsg("批注意见不能为空");
				}else{
					$("#spectionContent").html("");
//					 comimtDate('4',str);
					  $.imgUpload().uploadImgs('4',str);
				}
			}else{
				$("#spectionContent").html("");
			}
		}
    </script>
</html>
